<template>
	<div class="search">
		<!-- <img src="@/assets/img/search.png" /> -->
		<input type="text" placeholder="请输入编号或名称" class="search-in">
		<input type="button" class="search-btn" @click="search()">
		<div class="search-content"></div>
	</div>
</template>

<script>
	export default{
		name:'Search',
		data(){
			return{}
		},
		methods:{
			search(){
				// this.$emit("searchnum()")
				alert("搜索失败！")
			}
		}
	}
</script>

<style  lang='stylus' scoped>
	
	.search
		width 7.08rem
		height 4.3rem
		position relative
		background url("../assets/img/search.png")
		background-size 100% 100%
		img
			width 7.08rem
			height 4.27rem
		.search-in
			position absolute
			bottom 1.93rem
			left 2.49rem
			width 2.5rem
			height 0.3rem
			outline none
			border none
			background #eeeeed
			color #3d2118
		.search-btn
			position absolute
			background transparent
			bottom 1.85rem
			right .2rem
			width .8rem
			height .5rem
			border none
			outline none
</style>
